package com.example.jinzproduct.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.plugins.Page;
import com.example.commons.entity.OrganizationRolesDO;
import com.example.commons.vo.MyOrgRolesDeVo;
import com.example.commons.vo.MyOrgRolesVo;
import com.example.commons.vo.OrgRolesListVo;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 机构角色表
 * </pre>
 * <small> 2020-02-24 21:00:11 | lance</small>
 */
public interface OrganizationRolesService extends IService<OrganizationRolesDO> {

    List <MyOrgRolesDeVo> details(String id);

    Page<OrgRolesListVo> selecHotSearchOrg();


    Page<OrgRolesListVo> selectListPage(int current, int number, Map map);

   Integer selectListCount(int current, int number, Map map);


    Page<MyOrgRolesVo> selByUserId(int current, int number, Long userId);

    Long selById(Map map);

    List<Map<Object,Object>> selByRoleType(Integer roleType);

    int selNoReviewAll();

    List<Map> selByRoleProvince(Map map);

    String selByIdProName(Map map);
}
